#pragma once
#include <list>

namespace ListUtils
{
  template <typename C>
  bool contains(std::shared_ptr<std::list<std::shared_ptr<C>>> List, std::shared_ptr<C> ele)
  {
    for (auto it : *List)
    {
      if (it == ele)
        return true;
    }
    return false;
  }
};
